package org.real.guetshop.pojo.entity;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Product {

    private Integer id;

    //商品名称
    private String name;

    //商品图片
    private String image;

    //商品所属分类id
    private Integer categoryId;

    //商品状态
    private Integer status;

    //商品所属商店id
    private Integer storeId;

    private String storeName;

    //商品价格
    private BigDecimal price;

    //商品库存
    private Integer total;

    //商品单位
    private String unit;

    //商品分类名称
    private String categoryName;

    //描述
    private String description;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer createUser;

    private Integer updateUser;

}
